package com.zito.bean;

import javax.validation.groups.Default;


import com.downlove.validation.notnull.NotNull;
import com.downlove.validation.strlength.CheckLength;
import com.zito.pojo.InvestoptionPOJO;

@SuppressWarnings("serial")
public class Investoption extends InvestoptionPOJO {
	private Long id;
	private Long investquesid;
	@NotNull(message = "选项内容不能为空", groups = { Default.class })
	@CheckLength(message = "选项内容字符长度不能大于500个字符，一个中文为2个字符", max = 500, groups = { Default.class })
	private String content;
	private int SelectedNum;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getInvestquesid() {
		return investquesid;
	}
	public void setInvestquesid(Long investquesid) {
		this.investquesid = investquesid;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getSelectedNum() {
		return SelectedNum;
	}
	public void setSelectedNum(int selectedNum) {
		SelectedNum = selectedNum;
	}
}
